﻿using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Collections.Generic;

namespace SBPweb.Messenger.Host.Services
{

    [ServiceContract(Namespace = "SBPweb.Messenger.WLM", CallbackContract = typeof(IConnectionManagerClient))]
    public interface IConnectionManager : SBPweb.Messenger.Clients.Base.IConnectionManager
    {

        [OperationContract]
        new List<string> EnumeratePresenceStates();

        [OperationContract(IsOneWay = true)]
        new void SetPresenceState(string state);

        [OperationContract(IsOneWay = true)]
        new void Connect(string userName, string password);

        [OperationContract(IsOneWay = true)]
        void Order(Message receivedMessage);

    }

}